package com.test.entity;

import org.springframework.stereotype.Component;

@Component//注册为Bean
public class Student {
    public void study(String str){
        System.out.println("狠狠的学"+str);
    }
}
